package com.yh.homestay.service;

import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.common.StaffEditResult;
import com.yh.homestay.pojo.UserStaff;

import java.util.Date;
import java.util.List;

public interface UserStaffService {
    HomeStayResult selectAll(String staffName, Integer page, Integer limit);
    int addStaff(UserStaff userStaff);
    HomeStayResult delete(Integer id);
    HomeStayResult update(Integer staffId, String staffName, String staffPhone, String staffHiredate, Double staffSalary, Double staffComm, Integer staffMgr);
    StaffEditResult selectOne(Integer id);
    HomeStayResult delectAll(List<Integer> ids);
}
